package com.work.order.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_order")
public class Order implements Serializable {
    @Id
    @Column(name = "id")
    private long id;
    @Column(name = "cid")
    private long cid;
    @Column(name = "did")
    private long did;
    @Column(name = "Num")
    private int Num;
    @Column(name = "Money")
    private int Money;
    @Column(name = "receiverContact")
    private String receiverContact;
    @Column(name = "receiverMobile")
    private String receiverMobile;
    @Column(name = "receiverAddress")
    private String receiverAddress;
    @Column(name = "status")
    private String status;


}
